<template>
    <div id="app">
        <el-container>
            <el-header style="background-color:#ffd04b;">
                <my-header :uid="uid"> </my-header>
            </el-header>
            <el-container>
                <!-- 边路菜单 -->
                <el-aside style="background-color:#545c64;min-height:800px;">
                    <my-menu> </my-menu>
                </el-aside>
                <!-- 主内容 -->
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script>
import Header from './components/header.vue'
import MyMenu from './components/left_menu.vue'
import VueCommon from './VueCommon.js'

export default {
    created() {},
    data() {
        let uid = VueCommon.store_getStr('uid')
        return {
            uid: uid,
            isRouter: true,
            title: "sss",
            content_path: ""
        }
    },
    components: {
        'my-header': Header,
        'my-menu': MyMenu
    },
    methods: {
       
    },
    created() {
        let currentRoute = this.$router.currentRoute
        this.content_path = currentRoute.path
    }
}
</script>
